Integrand size = 24, antiderivative size = 19 \[ \int \sqrt {a-a \sin ^2(e+f x)} \tan (e+f x) \, dx=-\frac {\sqrt {a \cos ^2(e+f x)}}{f} \]
[Out]
Time = 0.07 (sec) , antiderivative size = 19, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {3255, 3284, 16, 32} \[ \int \sqrt {a-a \sin ^2(e+f x)} \tan (e+f x) \, dx=-\frac {\sqrt {a \cos ^2(e+f x)}}{f} \]
[In]
[Out]
Rule 16
Rule 32
Rule 3255
Rule 3284
Rubi steps \begin{align*} \text {integral}& = \int \sqrt {a \cos ^2(e+f x)} \tan (e+f x) \, dx \\ & = -\frac {\text {Subst}\left (\int \frac {\sqrt {a x}}{x} \, dx,x,\cos ^2(e+f x)\right )}{2 f} \\ & = -\frac {a \text {Subst}\left (\int \frac {1}{\sqrt {a x}} \, dx,x,\cos ^2(e+f x)\right )}{2 f} \\ & = -\frac {\sqrt {a \cos ^2(e+f x)}}{f} \\ \end{align*}
Time = 0.04 (sec) , antiderivative size = 19, normalized size of antiderivative = 1.00 \[ \int \sqrt {a-a \sin ^2(e+f x)} \tan (e+f x) \, dx=-\frac {\sqrt {a \cos ^2(e+f x)}}{f} \]
[In]
[Out]
Time = 0.41 (sec) , antiderivative size = 21, normalized size of antiderivative = 1.11
method | result | size |
derivativedivides | \(-\frac {\sqrt {a -a \left (\sin ^{2}\left (f x +e \right )\right )}}{f}\) | \(21\) |
default | \(-\frac {\sqrt {a -a \left (\sin ^{2}\left (f x +e \right )\right )}}{f}\) | \(21\) |
risch | \(-\frac {\sqrt {\left ({\mathrm e}^{2 i \left (f x +e \right )}+1\right )^{2} a \,{\mathrm e}^{-2 i \left (f x +e \right )}}\, {\mathrm e}^{2 i \left (f x +e \right )}}{2 f \left ({\mathrm e}^{2 i \left (f x +e \right )}+1\right )}-\frac {\sqrt {\left ({\mathrm e}^{2 i \left (f x +e \right )}+1\right )^{2} a \,{\mathrm e}^{-2 i \left (f x +e \right )}}}{2 f \left ({\mathrm e}^{2 i \left (f x +e \right )}+1\right )}\) | \(99\) |
[In]
[Out]
none
Time = 0.29 (sec) , antiderivative size = 17, normalized size of antiderivative = 0.89 \[ \int \sqrt {a-a \sin ^2(e+f x)} \tan (e+f x) \, dx=-\frac {\sqrt {a \cos \left (f x + e\right )^{2}}}{f} \]
[In]
[Out]
\[ \int \sqrt {a-a \sin ^2(e+f x)} \tan (e+f x) \, dx=\int \sqrt {- a \left (\sin {\left (e + f x \right )} - 1\right ) \left (\sin {\left (e + f x \right )} + 1\right )} \tan {\left (e + f x \right )}\, dx \]
[In]
[Out]
none
Time = 0.38 (sec) , antiderivative size = 20, normalized size of antiderivative = 1.05 \[ \int \sqrt {a-a \sin ^2(e+f x)} \tan (e+f x) \, dx=-\frac {\sqrt {-a \sin \left (f x + e\right )^{2} + a}}{f} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 37 vs. \(2 (17) = 34\).
Time = 0.37 (sec) , antiderivative size = 37, normalized size of antiderivative = 1.95 \[ \int \sqrt {a-a \sin ^2(e+f x)} \tan (e+f x) \, dx=\frac {2 \, \sqrt {a} \mathrm {sgn}\left (\tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{4} - 1\right )}{{\left (\tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{2} + 1\right )} f} \]
[In]
[Out]
Time = 14.50 (sec) , antiderivative size = 20, normalized size of antiderivative = 1.05 \[ \int \sqrt {a-a \sin ^2(e+f x)} \tan (e+f x) \, dx=-\frac {\sqrt {a-a\,{\sin \left (e+f\,x\right )}^2}}{f} \]
[In]
[Out]